package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单商品关联对象 order_goods
 * 
 * @author ruoyi
 * @date 2024-03-22
 */
public class OrderGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 订单表父订单ID */
    @Excel(name = "订单表父订单ID")
    private Long parentOrderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentOrderGoodsId;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String sku;

    /** 主数据sku 名称 */
    @Excel(name = "主数据sku 名称")
    private String skuName;

    /** 商品类型 1-产品 2-护理 3-券 4-疗程 */
    @Excel(name = "商品类型 1-产品 2-护理 3-券 4-疗程")
    private Integer goodsType;

    /** 货号 */
    @Excel(name = "货号")
    private String goodsSn;

    /** 状态 -1-已退款 0-正常 1-取消 2-超时取消 */
    @Excel(name = "状态 -1-已退款 0-正常 1-取消 2-超时取消")
    private Long goodsStatus;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Long number;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 规格简述value:value... */
    @Excel(name = "规格简述value:value...")
    private String resume;

    /** 列表图 */
    @Excel(name = "列表图")
    private String listImg;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String description;

    /** 原价 */
    @Excel(name = "原价")
    private Long price;

    /** 单价 */
    @Excel(name = "单价")
    private Long discountPrice;

    /** 优惠减免 */
    @Excel(name = "优惠减免")
    private String discountTitle;

    /** 打折信息 */
    @Excel(name = "打折信息")
    private String discountInfo;

    /** 小计 */
    @Excel(name = "小计")
    private Long subtotal;

    /** 实际小记 */
    @Excel(name = "实际小记")
    private Long realSubtotal;

    /** 院余编号 */
    @Excel(name = "院余编号")
    private String posCardNo;

    /** 总优惠额度 */
    @Excel(name = "总优惠额度")
    private Long discountFee;

    /** 退款 */
    @Excel(name = "退款")
    private Long refundMoney;

    /** 退款原因 */
    @Excel(name = "退款原因")
    private String refundMsg;

    /** 退商品数量 */
    @Excel(name = "退商品数量")
    private Long refundGoodsNum;

    /** 订单回调扩展参数 */
    @Excel(name = "订单回调扩展参数")
    private String orderExtend;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setParentOrderId(Long parentOrderId) 
    {
        this.parentOrderId = parentOrderId;
    }

    public Long getParentOrderId() 
    {
        return parentOrderId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setParentOrderGoodsId(Long parentOrderGoodsId) 
    {
        this.parentOrderGoodsId = parentOrderGoodsId;
    }

    public Long getParentOrderGoodsId() 
    {
        return parentOrderGoodsId;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setSkuName(String skuName) 
    {
        this.skuName = skuName;
    }

    public String getSkuName() 
    {
        return skuName;
    }
    public void setGoodsType(Integer goodsType) 
    {
        this.goodsType = goodsType;
    }

    public Integer getGoodsType() 
    {
        return goodsType;
    }
    public void setGoodsSn(String goodsSn) 
    {
        this.goodsSn = goodsSn;
    }

    public String getGoodsSn() 
    {
        return goodsSn;
    }
    public void setGoodsStatus(Long goodsStatus) 
    {
        this.goodsStatus = goodsStatus;
    }

    public Long getGoodsStatus() 
    {
        return goodsStatus;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setResume(String resume) 
    {
        this.resume = resume;
    }

    public String getResume() 
    {
        return resume;
    }
    public void setListImg(String listImg) 
    {
        this.listImg = listImg;
    }

    public String getListImg() 
    {
        return listImg;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setDiscountPrice(Long discountPrice) 
    {
        this.discountPrice = discountPrice;
    }

    public Long getDiscountPrice() 
    {
        return discountPrice;
    }
    public void setDiscountTitle(String discountTitle) 
    {
        this.discountTitle = discountTitle;
    }

    public String getDiscountTitle() 
    {
        return discountTitle;
    }
    public void setDiscountInfo(String discountInfo) 
    {
        this.discountInfo = discountInfo;
    }

    public String getDiscountInfo() 
    {
        return discountInfo;
    }
    public void setSubtotal(Long subtotal) 
    {
        this.subtotal = subtotal;
    }

    public Long getSubtotal() 
    {
        return subtotal;
    }
    public void setRealSubtotal(Long realSubtotal) 
    {
        this.realSubtotal = realSubtotal;
    }

    public Long getRealSubtotal() 
    {
        return realSubtotal;
    }
    public void setPosCardNo(String posCardNo) 
    {
        this.posCardNo = posCardNo;
    }

    public String getPosCardNo() 
    {
        return posCardNo;
    }
    public void setDiscountFee(Long discountFee) 
    {
        this.discountFee = discountFee;
    }

    public Long getDiscountFee() 
    {
        return discountFee;
    }
    public void setRefundMoney(Long refundMoney) 
    {
        this.refundMoney = refundMoney;
    }

    public Long getRefundMoney() 
    {
        return refundMoney;
    }
    public void setRefundMsg(String refundMsg) 
    {
        this.refundMsg = refundMsg;
    }

    public String getRefundMsg() 
    {
        return refundMsg;
    }
    public void setRefundGoodsNum(Long refundGoodsNum) 
    {
        this.refundGoodsNum = refundGoodsNum;
    }

    public Long getRefundGoodsNum() 
    {
        return refundGoodsNum;
    }
    public void setOrderExtend(String orderExtend) 
    {
        this.orderExtend = orderExtend;
    }

    public String getOrderExtend() 
    {
        return orderExtend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("parentOrderId", getParentOrderId())
            .append("goodsId", getGoodsId())
            .append("parentOrderGoodsId", getParentOrderGoodsId())
            .append("sku", getSku())
            .append("skuName", getSkuName())
            .append("goodsType", getGoodsType())
            .append("goodsSn", getGoodsSn())
            .append("goodsStatus", getGoodsStatus())
            .append("number", getNumber())
            .append("title", getTitle())
            .append("resume", getResume())
            .append("listImg", getListImg())
            .append("description", getDescription())
            .append("price", getPrice())
            .append("discountPrice", getDiscountPrice())
            .append("discountTitle", getDiscountTitle())
            .append("discountInfo", getDiscountInfo())
            .append("subtotal", getSubtotal())
            .append("realSubtotal", getRealSubtotal())
            .append("posCardNo", getPosCardNo())
            .append("discountFee", getDiscountFee())
            .append("refundMoney", getRefundMoney())
            .append("refundMsg", getRefundMsg())
            .append("refundGoodsNum", getRefundGoodsNum())
            .append("orderExtend", getOrderExtend())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
